﻿using System.Web;
using System.Web.Optimization;

namespace BSAppDOne.WebAdmin
{
    public class BundleConfig
    {
        // 有关捆绑的详细信息，请访问 https://go.microsoft.com/fwlink/?LinkId=301862
        public static void RegisterBundles(BundleCollection bundles)
        {
            //引入基础js
            bundles.Add(new ScriptBundle("~/baseJs").Include(
                        "~/Content/libs/jquery/dist/jquery.min.js",                      
                        "~/Content/libs/bootstrap/dist/js/bootstrap.min.js",
                         "~/Content/libs/datatables.net/js/jquery.dataTables.min.js",
                         "~/Content/libs/datatables.net-bs/js/dataTables.bootstrap.min.js",
                         "~/Content/libs/adminlte/dist/js/adminlte.min.js",
                         "~/Content/libs/jquery-nicescroll/jquery.nicescroll.js",
                         "~/Content/libs/layer/layer.js",                       
                          "~/Content/libs/vue/vue.min.js",
                          "~/Content/js/admin.js"
                        ));


                  //引入基础样式表
                  bundles.Add(new StyleBundle("~/baseCss").Include(
                 "~/Content/libs/bootstrap/dist/css/bootstrap.min.css",
                   "~/Content/libs/font-awesome/css/font-awesome.min.css",
                   "~/Content/libs/Ionicons/css/ionicons.min.css",
                 "~/Content/libs/adminlte/dist/css/AdminLTE.min.css",
                 "~/Content/libs/adminlte/dist/css/skins/_all-skins.min.css",
                  "~/Content/libs/datatables.net-bs/css/dataTables.bootstrap.min.css",
                 "~/Content/css/common.css"
                     ));
        }
    }
}
